package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FFilmRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFilmRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andRecNoIsNull() {
            addCriterion("rec_no is null");
            return (Criteria) this;
        }

        public Criteria andRecNoIsNotNull() {
            addCriterion("rec_no is not null");
            return (Criteria) this;
        }

        public Criteria andRecNoEqualTo(String value) {
            addCriterion("rec_no =", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoNotEqualTo(String value) {
            addCriterion("rec_no <>", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoGreaterThan(String value) {
            addCriterion("rec_no >", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoGreaterThanOrEqualTo(String value) {
            addCriterion("rec_no >=", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoLessThan(String value) {
            addCriterion("rec_no <", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoLessThanOrEqualTo(String value) {
            addCriterion("rec_no <=", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoLike(String value) {
            addCriterion("rec_no like", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoNotLike(String value) {
            addCriterion("rec_no not like", value, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoIn(List<String> values) {
            addCriterion("rec_no in", values, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoNotIn(List<String> values) {
            addCriterion("rec_no not in", values, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoBetween(String value1, String value2) {
            addCriterion("rec_no between", value1, value2, "recNo");
            return (Criteria) this;
        }

        public Criteria andRecNoNotBetween(String value1, String value2) {
            addCriterion("rec_no not between", value1, value2, "recNo");
            return (Criteria) this;
        }

        public Criteria andFilmNameIsNull() {
            addCriterion("film_name is null");
            return (Criteria) this;
        }

        public Criteria andFilmNameIsNotNull() {
            addCriterion("film_name is not null");
            return (Criteria) this;
        }

        public Criteria andFilmNameEqualTo(String value) {
            addCriterion("film_name =", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameNotEqualTo(String value) {
            addCriterion("film_name <>", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameGreaterThan(String value) {
            addCriterion("film_name >", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameGreaterThanOrEqualTo(String value) {
            addCriterion("film_name >=", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameLessThan(String value) {
            addCriterion("film_name <", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameLessThanOrEqualTo(String value) {
            addCriterion("film_name <=", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameLike(String value) {
            addCriterion("film_name like", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameNotLike(String value) {
            addCriterion("film_name not like", value, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameIn(List<String> values) {
            addCriterion("film_name in", values, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameNotIn(List<String> values) {
            addCriterion("film_name not in", values, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameBetween(String value1, String value2) {
            addCriterion("film_name between", value1, value2, "filmName");
            return (Criteria) this;
        }

        public Criteria andFilmNameNotBetween(String value1, String value2) {
            addCriterion("film_name not between", value1, value2, "filmName");
            return (Criteria) this;
        }

        public Criteria andRecOrgIsNull() {
            addCriterion("rec_org is null");
            return (Criteria) this;
        }

        public Criteria andRecOrgIsNotNull() {
            addCriterion("rec_org is not null");
            return (Criteria) this;
        }

        public Criteria andRecOrgEqualTo(String value) {
            addCriterion("rec_org =", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgNotEqualTo(String value) {
            addCriterion("rec_org <>", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgGreaterThan(String value) {
            addCriterion("rec_org >", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgGreaterThanOrEqualTo(String value) {
            addCriterion("rec_org >=", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgLessThan(String value) {
            addCriterion("rec_org <", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgLessThanOrEqualTo(String value) {
            addCriterion("rec_org <=", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgLike(String value) {
            addCriterion("rec_org like", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgNotLike(String value) {
            addCriterion("rec_org not like", value, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgIn(List<String> values) {
            addCriterion("rec_org in", values, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgNotIn(List<String> values) {
            addCriterion("rec_org not in", values, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgBetween(String value1, String value2) {
            addCriterion("rec_org between", value1, value2, "recOrg");
            return (Criteria) this;
        }

        public Criteria andRecOrgNotBetween(String value1, String value2) {
            addCriterion("rec_org not between", value1, value2, "recOrg");
            return (Criteria) this;
        }

        public Criteria andScriptWriterIsNull() {
            addCriterion("script_writer is null");
            return (Criteria) this;
        }

        public Criteria andScriptWriterIsNotNull() {
            addCriterion("script_writer is not null");
            return (Criteria) this;
        }

        public Criteria andScriptWriterEqualTo(String value) {
            addCriterion("script_writer =", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterNotEqualTo(String value) {
            addCriterion("script_writer <>", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterGreaterThan(String value) {
            addCriterion("script_writer >", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterGreaterThanOrEqualTo(String value) {
            addCriterion("script_writer >=", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterLessThan(String value) {
            addCriterion("script_writer <", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterLessThanOrEqualTo(String value) {
            addCriterion("script_writer <=", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterLike(String value) {
            addCriterion("script_writer like", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterNotLike(String value) {
            addCriterion("script_writer not like", value, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterIn(List<String> values) {
            addCriterion("script_writer in", values, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterNotIn(List<String> values) {
            addCriterion("script_writer not in", values, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterBetween(String value1, String value2) {
            addCriterion("script_writer between", value1, value2, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andScriptWriterNotBetween(String value1, String value2) {
            addCriterion("script_writer not between", value1, value2, "scriptWriter");
            return (Criteria) this;
        }

        public Criteria andRecResultIsNull() {
            addCriterion("rec_result is null");
            return (Criteria) this;
        }

        public Criteria andRecResultIsNotNull() {
            addCriterion("rec_result is not null");
            return (Criteria) this;
        }

        public Criteria andRecResultEqualTo(String value) {
            addCriterion("rec_result =", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultNotEqualTo(String value) {
            addCriterion("rec_result <>", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultGreaterThan(String value) {
            addCriterion("rec_result >", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultGreaterThanOrEqualTo(String value) {
            addCriterion("rec_result >=", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultLessThan(String value) {
            addCriterion("rec_result <", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultLessThanOrEqualTo(String value) {
            addCriterion("rec_result <=", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultLike(String value) {
            addCriterion("rec_result like", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultNotLike(String value) {
            addCriterion("rec_result not like", value, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultIn(List<String> values) {
            addCriterion("rec_result in", values, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultNotIn(List<String> values) {
            addCriterion("rec_result not in", values, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultBetween(String value1, String value2) {
            addCriterion("rec_result between", value1, value2, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecResultNotBetween(String value1, String value2) {
            addCriterion("rec_result not between", value1, value2, "recResult");
            return (Criteria) this;
        }

        public Criteria andRecAreaIsNull() {
            addCriterion("rec_area is null");
            return (Criteria) this;
        }

        public Criteria andRecAreaIsNotNull() {
            addCriterion("rec_area is not null");
            return (Criteria) this;
        }

        public Criteria andRecAreaEqualTo(String value) {
            addCriterion("rec_area =", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaNotEqualTo(String value) {
            addCriterion("rec_area <>", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaGreaterThan(String value) {
            addCriterion("rec_area >", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaGreaterThanOrEqualTo(String value) {
            addCriterion("rec_area >=", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaLessThan(String value) {
            addCriterion("rec_area <", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaLessThanOrEqualTo(String value) {
            addCriterion("rec_area <=", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaLike(String value) {
            addCriterion("rec_area like", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaNotLike(String value) {
            addCriterion("rec_area not like", value, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaIn(List<String> values) {
            addCriterion("rec_area in", values, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaNotIn(List<String> values) {
            addCriterion("rec_area not in", values, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaBetween(String value1, String value2) {
            addCriterion("rec_area between", value1, value2, "recArea");
            return (Criteria) this;
        }

        public Criteria andRecAreaNotBetween(String value1, String value2) {
            addCriterion("rec_area not between", value1, value2, "recArea");
            return (Criteria) this;
        }

        public Criteria andClassifiedIsNull() {
            addCriterion("classified is null");
            return (Criteria) this;
        }

        public Criteria andClassifiedIsNotNull() {
            addCriterion("classified is not null");
            return (Criteria) this;
        }

        public Criteria andClassifiedEqualTo(String value) {
            addCriterion("classified =", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedNotEqualTo(String value) {
            addCriterion("classified <>", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedGreaterThan(String value) {
            addCriterion("classified >", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedGreaterThanOrEqualTo(String value) {
            addCriterion("classified >=", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedLessThan(String value) {
            addCriterion("classified <", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedLessThanOrEqualTo(String value) {
            addCriterion("classified <=", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedLike(String value) {
            addCriterion("classified like", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedNotLike(String value) {
            addCriterion("classified not like", value, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedIn(List<String> values) {
            addCriterion("classified in", values, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedNotIn(List<String> values) {
            addCriterion("classified not in", values, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedBetween(String value1, String value2) {
            addCriterion("classified between", value1, value2, "classified");
            return (Criteria) this;
        }

        public Criteria andClassifiedNotBetween(String value1, String value2) {
            addCriterion("classified not between", value1, value2, "classified");
            return (Criteria) this;
        }

        public Criteria andDateRangeIsNull() {
            addCriterion("date_range is null");
            return (Criteria) this;
        }

        public Criteria andDateRangeIsNotNull() {
            addCriterion("date_range is not null");
            return (Criteria) this;
        }

        public Criteria andDateRangeEqualTo(String value) {
            addCriterion("date_range =", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeNotEqualTo(String value) {
            addCriterion("date_range <>", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeGreaterThan(String value) {
            addCriterion("date_range >", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeGreaterThanOrEqualTo(String value) {
            addCriterion("date_range >=", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeLessThan(String value) {
            addCriterion("date_range <", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeLessThanOrEqualTo(String value) {
            addCriterion("date_range <=", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeLike(String value) {
            addCriterion("date_range like", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeNotLike(String value) {
            addCriterion("date_range not like", value, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeIn(List<String> values) {
            addCriterion("date_range in", values, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeNotIn(List<String> values) {
            addCriterion("date_range not in", values, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeBetween(String value1, String value2) {
            addCriterion("date_range between", value1, value2, "dateRange");
            return (Criteria) this;
        }

        public Criteria andDateRangeNotBetween(String value1, String value2) {
            addCriterion("date_range not between", value1, value2, "dateRange");
            return (Criteria) this;
        }

        public Criteria andAnnDateIsNull() {
            addCriterion("ann_date is null");
            return (Criteria) this;
        }

        public Criteria andAnnDateIsNotNull() {
            addCriterion("ann_date is not null");
            return (Criteria) this;
        }

        public Criteria andAnnDateEqualTo(String value) {
            addCriterion("ann_date =", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotEqualTo(String value) {
            addCriterion("ann_date <>", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateGreaterThan(String value) {
            addCriterion("ann_date >", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateGreaterThanOrEqualTo(String value) {
            addCriterion("ann_date >=", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLessThan(String value) {
            addCriterion("ann_date <", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLessThanOrEqualTo(String value) {
            addCriterion("ann_date <=", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLike(String value) {
            addCriterion("ann_date like", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotLike(String value) {
            addCriterion("ann_date not like", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateIn(List<String> values) {
            addCriterion("ann_date in", values, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotIn(List<String> values) {
            addCriterion("ann_date not in", values, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateBetween(String value1, String value2) {
            addCriterion("ann_date between", value1, value2, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotBetween(String value1, String value2) {
            addCriterion("ann_date not between", value1, value2, "annDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}